﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fibot.Module.K3Cloud.BASE.dto
{
    public class BaseExecuteBillQueryDto
    {
        /// <summary>
        /// 业务对象表单Id（必录）
        /// </summary>E:\交接资料\MES系统20231009版\MES系统\modules\Fibot.Module.K3Cloud\BASE\dto\BaseCancelAssignDto.cs
        public string FormId { get; set; }
        /// <summary>
        /// 需查询的字段key集合，字符串类型，
        /// 格式："key1,key2,..."（必录） 
        /// 注（查询单据体内码,需加单据体Key和下划线,如：FEntryKey_FEntryId）
        /// </summary>
        public string FieldKeys { get; set; }

        /// <summary>
        /// 过滤条件，数组类型，
        /// 如：[{"Left":"(","FieldName":"Field1","Compare":"=","Value":"111","Right":")","Logic":"AND"},
        /// {"Left":"(","FieldName":"Field2","Compare":"=","Value":"222","Right":")","Logic":""}]
        /// 直接用sql拼接就可以
        /// </summary>
        public string FilterString { get; set; }
        /// <summary>
        /// 排序字段，字符串类型（非必录）
        /// </summary>
        public string OrderString { get; set; }
        /// <summary>
        /// 返回总行数，整型（非必录）
        /// </summary>
        public int TopRowCount { get; set; }
        /// <summary>
        /// 开始行索引，整型（非必录）
        /// </summary>
        public int StartRow { get; set; }
        /// <summary>
        /// 最大行数，整型，不能超过10000（非必录）c
        /// </summary>
        public int Limit { get; set; }
        /// <summary>
        /// 表单所在的子系统内码，字符串类型（非必录）
        /// </summary>
        public string SubSystemId { get; set; }
    }
}
